Crate ciphersuite

source ·
Expand description

Ciphersuite

Ciphersuites for elliptic curves premised on ff/group.

This library, except for the not recommended Ed448 ciphersuite, was audited by Cypher Stack in March 2023, culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. Any subsequent changes have not undergone auditing.

This library is usable under no_std. The alloc and std features enable reading from the io::Read trait, shimmed by std-shims under alloc.

Re-exports

Structs

  • Ed448ed448
    Ciphersuite for Ed448, inspired by RFC-8032. This is not recommended for usage.
  • Ed25519dalek and ed25519
    Ciphersuite for Ed25519, inspired by RFC-8032.
  • P256kp256 and p256
    Ciphersuite for P-256.
  • Ristrettodalek and ristretto
    Ciphersuite for Ristretto.
  • Secp256k1kp256 and secp256k1
    Ciphersuite for Secp256k1.
  • Shake256, fixed to a 114-byte output, as used by Ed448.

Traits

  • Unified trait defining a ciphersuite around an elliptic curve.